home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- // DLLSTUFF - Windows DLL support functions
- //
- // This File contains the source code for the standard DLL functions
- //
- // Author: Kyle Marsh
- // Windows Developer Technology Group
- // Microsoft Corp.
- //
- //---------------------------------------------------------------------------
-
- #include "vlistint.h"
-
- //---------------------------------------------------------------------------
- // Function declarations
- //---------------------------------------------------------------------------
-
- int FAR PASCAL LibMain(HANDLE hModule, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine);
- int FAR PASCAL WEP (int bSystemExit);
-
- //---------------------------------------------------------------------------
- // Global Variables...
- //---------------------------------------------------------------------------
-
- HANDLE hInstance; // Global instance handle for DLL
-
- //---------------------------------------------------------------------------
- // LibMain
- //---------------------------------------------------------------------------
- int FAR PASCAL LibMain(HANDLE hModule, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine)
- {
- hInstance = hModule;
-
- RegisterVListBox(hInstance);
-
- return 1;
- }
-
-
- #pragma alloc_text(FIXEDSEG, WEP)
-
- //---------------------------------------------------------------------------
- // WEP
- //---------------------------------------------------------------------------
- int FAR PASCAL WEP (int bSystemExit)
- {
- return(1);
- }
-